// SpecialToolDlg.h : header file
//

#pragma once
#include "afxwin.h"


// CSpecialToolDlg dialog
class CSpecialToolDlg : public CDialog
{
// Construction
public:
	CSpecialToolDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_SPECIALTOOL_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg LRESULT OnHotKey(WPARAM wParam, LPARAM lParam);
	afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
    afx_msg void OnTimer(UINT_PTR nIDEvent);

	DECLARE_MESSAGE_MAP()

protected:
	CEdit		m_EditHwnd;
	HWND		m_ChangingHwnd;
	CListBox	m_InfoList;

protected:
	void CalculateHwnd();

public:
	afx_msg void OnBnClickedSetWindowPos();
	afx_msg void OnBnClickedSetWindowPosAsync();
	afx_msg void OnBnClickedSetForegroundWindow();
	afx_msg void OnBnClickedSetwindowlongptr();
    afx_msg void OnSize(UINT nType, int cx, int cy);
protected:
    virtual void OnCancel();
    virtual void OnOK();
};
